import request from '@/utils/request'

// 列表
export function dealerList(params) {
  return request({
    url: '/mapi/dealer/list',
    method: 'get',
    params
  })
}

// 详情
export function promocodeInfo(params) {
  return request({
    url: '/mapi/promocode/info',
    method: 'get',
    params
  })
}

// 编辑
export function dealerEdit(params) {
  return request({
    url: '/mapi/dealer/edit',
    method: 'post',
    params
  })
}
